A profitable business can still run out of cash. Here's why it happens, what causes the gap between profit and cash position, and what to do before the crunch arrives.